<?php
/**
 * Created by PhpStorm.
 * User: 94004
 * Date: 2017/12/28
 * Time: 21:17
 */
header("Content-Type:text/html;charset=utf-8;");
session_start();
$arr = array("code" => 101, "msg" => "退出失败");
unset($_SESSION["user_id"]);
session_destroy();
echo json_encode($arr, JSON_UNESCAPED_UNICODE);
?>